package com.imti.mall.model.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@ToString
public class SubmitOrder {

    private Long cartItemId[];

    private Long memberId;

    @ApiModelProperty(value = "订单总金额")
    private Double totalAmount;

    @ApiModelProperty(value = "应付金额（实际支付金额）")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "积分抵扣金额")
    private BigDecimal integrationAmount;

    @ApiModelProperty(value = "可以获得的积分")
    private Double integration;

    @ApiModelProperty(value = "用户默认收货地址")
    private Integer addressId;

    @ApiModelProperty(value = "订单备注")
    private String note;

    @ApiModelProperty(value = "下单时使用的积分")
    private Integer useIntegration;
}
